package com.gym.service;

import com.github.pagehelper.Page;
import com.gym.pojo.Equipmentupkeep;

import java.util.List;

public interface EquipmentupkeepService {

    /*
     * 查询全部器材维修信息
     * */
    public List<Equipmentupkeep> selAllUpKeep(Integer pageIndex,String equname,String start, String end) ;

    /*
     * 查询全部器材维修信息数量
     * */
    public Integer selRepairCount(String equname,String start,String end);

    /**
     * 添加器材维修信息
     * @param equipmentupkeep
     * @return
     */
    public boolean addEquRepair(Equipmentupkeep equipmentupkeep);


    /*
     * 修改器材维修信息
     * */
    public boolean updateEquRepair(Equipmentupkeep equipmentupkeep);

    /*
     * 删除器材维修信息
     * */
    public boolean delEquRepair(String equkeepid);


}
